﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Globalization;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
using ncp.Business;
using ncp.Business.Common;

namespace ncp.Web.cms
{
    public partial class Vip_List : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(Vip_List));
        }

        //装载商品表视图
        [AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)]
        public string BindTable(string Client_Id)
        {
            DataTable dt = ClientInfoBll.GetVIPInfoTable("Client_Id='" + Client_Id + "'", "Vip_Id desc", CommonConst.DB_Name);
            return  JsonHelper.DataTableToJSON(dt);
        }
    }
}
